<!DOCTYPE html>

<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport"
		content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>exe H5</title>
	<link rel="stylesheet" type="text/css" href="css/style.rem.css" />
	<!-- <link rel="stylesheet" type="text/css" href="css/style.css" /> -->
</head>

<body>

	<div class="exe vm" v-cloak>
		<div class="container">
			<div class="banner">
				<img src="./imgs/1711712634343_.pic_01.jpg" style="width:100%" />
			</div>

			<div class="main">

				<!-- 步骤一、二 -->
				<div class="logo" v-if="[1, 2].includes(step)" v-cloak>
					<img src="./imgs/1711712634343_.pic_05.jpg" style="width:1.2841091492776886rem" />
					<span class="title">typora</span>
					<span class="subtitle">官方正版</span>
				</div>
				<!-- / 步骤一、二 -->

				<!-- 步骤一 -->
				<div class="content" v-if="step === 1" v-cloak>
					<span>软件介绍</span>
					<div class="desc_wrap mt-12">
						<span class="desc mt-4">
							Typora是一款简洁而强大的Markdown编辑疑。它提供实时预览功能，让用户可以即时童看文档的渣染效果。Typora采用所见即所得的镐辑模式，没有繁杂的标记符号，用户可以专注于写作而不必分心处理格式。此外，Typora还支持数学公式、表格、囝像等丰富的Markdown语法和扩展功能。总之。Typora是一歌易用且功能丰富的Markdown编辑器，适用于撰写各种类型的文档。
						</span>
					</div>
					<div class="btn_group btn_gropu_w_auto">
						<button class="btn active" @click="step = 2">立即安装</button>
					</div>
				</div>
				<!-- / 步骤一 -->

				<!-- 步骤二 -->
				<div class="content" v-else-if="step === 2" v-cloak>
					<span class="tips warn text-medium">安装包已准备就绪，忖款后即可开启高速安装，感谢您的支持!</span>
					<div class="desc_wrap mt-12">
						<span class="desc mt-4">购买后不限安装次数，您可以永久使用该软件，永久免典更新到最新版本!</span>
						<span class="desc mt-4">购买后即可享受免费技术支持，协助您解决安装过程中遇到的各种问题!</span>
					</div>
					<div class="price mt-20">
						<div class="item vip_price">
							<span>购买永久会员：</span>
							<p>
								<span class="warn">¥</span>
								<span class="num">39.99</span>
								<span class="label">限时活动价</span>
							</p>
						</div>
						<div class="item old_price ml-67">
							<span>原价：</span>
							<span>199.00</span>
						</div>
					</div>

					<div class="btn_group">
						<button class="btn active">立即购买</button>
						<button class="btn ml-20" @click="quit">退出安装</button>
					</div>

					<a class="gray mt-12" href="">支付即视为同意《支付协议》追款协议及发票指南</a>

				</div>
				<!-- / 步骤二 -->

				<!-- 步骤三 -->
				<div class="content content_w_auto" v-else>
					<div class="desc_wrap mt-12">
						<span class="desc mt-4 text-center text-capitalize">您已获取安装资格，点击下方”立即体验“按钮即可打开 typora 软件</span>
					</div>

					<div class="showcase">

						<div class="lt">
							<div class="item">
								<img src="./imgs/jhm.png" alt="激活码" style="width:0.28892455858747995rem" />
								<div class="info ml-8">
									<p class="tl">软件激活码</p>
									<p class="desc">使用本激活码可更换电脑安装</p>
								</div>
							</div>
							<div class="item">
								<img src="./imgs/azjc.png" alt="激活码" style="width:18" height="18" />
								<div class="info ml-8">
									<p class="tl">安装教程</p>
									<p class="desc text-capitalize">查看typora安装教程</p>
								</div>
							</div>
						</div>

						<div class="rt item ml-24">
							<div class="info">
								<p class="tl">立即体验</p>
								<p class="desc gray text-capitalize">typora已安装完成，点击即可启动</p>
							</div>
							<img src="./imgs/1711712634343_.pic_05.jpg" style="width:1.2841091492776886rem" />
						</div>
					</div>

				</div>
				<!-- / 步骤三 -->
			</div>
		</div>

		<!-- 弹窗层 -->
		<div class="popup" v-show="typePopup" v-cloak>
			<!-- / 优惠券 -->
			<img src="./imgs/ticket.png" alt="优惠券" style="width: 3.691813804173355rem" v-show="typePopup === 1"
				@click="typePopup = 0, isGet = 1" />
			<!-- / 二维码支付 -->

			<div class="pay_info" v-show="typePopup === 2">
				<img class="close" src="./imgs/close.png" alt="关闭" style="width: 0.3852327447833066rem"
					@click="typePopup = 0" />

				<div class="top">
					<p class="">需要支付金额</p>
					<p class="price">
						<span>¥</span>
						<span class="num">29.99</span>
					</p>
					<p>*付款后可激活所有功能</p>
				</div>

				<div class="middle mt-12">

					<div class="pay_type">
						<div class="item pointer">
							<img class="icon" src="./imgs/wxzf.png" alt="微信支付" />
							<span class="ml-4 gray">微信支付</span>
						</div>
					</div>

					<div class="qrcode mt-18">
						<img src="./imgs/1711712634343_.pic_05.jpg" alt="付款码" width="100%" />
					</div>
				</div>
				<!-- <iframe class="iframe" src="https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx20161110163838f231619da20804912345&package=1037687096" frameborder="0"></iframe> -->
			</div>

			<!-- / 依赖下载进度 -->
			<div class="download" v-show="typePopup === 3">
				<img class="close" src="./imgs/close.png" alt="关闭" style="width: 0.3852327447833066rem"
					@click="typePopup = 0" />

				<span>安装激活码</span>

				<div class="progress_wrap">
					<span class="text-capitalize">开始下载typora资源...</span>

					<div class="progress mt-12">
						<p class="bar"></p>
					</div>
				</div>

				<div class="btn active" @click="typePopup = 0">确定</div>
			</div>
		</div>
		<div class="mask" @click="typePopup = 0" v-show="typePopup" v-cloak></div>
		<!-- / 弹窗层 -->

	</div>
	<script src="https://unpkg.com/vconsole@3.14.5/dist/vconsole.min.js"></script>
	<script src="js/config.js" charset="utf-8"></script>
	<script src="js/api.js" charset="utf-8"></script>
	<script src="js/vue.js" charset="utf-8"></script>
	<script src="js/spark-md5.min.js" charset="utf-8"></script>
	<script src="js/axios.min.js" charset="utf-8"></script>
	<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var vConsole = new window.VConsole();
		const vm = new Vue({
			el: '.vm',
			data: {
				// 根据操作步骤显示对应排版
				step: 1,
				isShowMask: false,
				// 1.优惠券；2.支付；3.下载软件
				typePopup: 2,
				isGet: false,
				// 是否已显示优惠券
				ticketStatus: 0
			},
			created: function () {

			},
			methods: {
				quit() {
					if (!this.ticketStatus) {
						this.ticketStatus = 1;
						this.typePopup = 1;

						return
					}
					console.log(111)
					alert('退出')
				}
			}

		})
	</script>


</body>

</html>